<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="__ROOT__/Public/img/sip.ico" type="image/x-icon" />
<link rel="shortcut icon" href="__ROOT__/Public/img/sip.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="{$Think.config.static_path}bootstrap3/css/bootstrap.min.css" />
<script type="text/javascript" src="{$Think.config.static_path}jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="{$Think.config.static_path}bootstrap3/js/bootstrap.min.js"></script>
<link type="text/css" rel="stylesheet" href="{$Think.config.static_path}css/css.css" />
<link type="text/css" rel="stylesheet" href="{$Think.config.static_path}css/pagenation.css" />
<link type="text/css" rel="stylesheet" href="{$Think.config.static_path}css/table.css" />



<script charset="utf-8" src="__ROOT__/Public/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script charset="utf-8" src="__ROOT__/Public/kindEditor/kindeditor-min.js" type="text/javascript"></script>
<script charset="utf-8"  src="__ROOT__/Public/kindEditor/lang/zh_CN.js" type="text/javascript"></script>


<link rel="stylesheet" href="{$Think.config.static_path}builds/merged/bsgrid.all.min.css"/>

<script type="text/javascript" src="{$Think.config.static_path}builds/js/lang/grid.zh-CN.min.js"></script>
<script type="text/javascript" src="{$Think.config.static_path}builds/merged/bsgrid.all.min.js"></script>
<title>{$Think.config.TITLE}</title>
</head>

<body>
<nav role="navigation" class="navbar navbar-inverse navbar-fixed-top">
  <div class="header">
    <div class="top"> <a href="javascript:void(0);" ><span class="logo" style="color:#FFF; font-size:16px; font-weight:bold;line-height:40px; width:auto;">{$Think.config.TITLE}</span></a></div>
      <ul class="nav">
	  <if condition="$_SESSION['USER'] eq  'admin'">
      	<li id="duihuan"><a href="__APP__/Duihuan/index">新主兑换</a></li>
	    <li id="redpackage"><a href="__APP__/Red/index">新主红包</a></li>
	    <!--<li id="mall"><a href="__APP__/Mall/citylist">积分商城</a></li>-->
		<li id="scorepay"><a href="__APP__/Score/storeList">积分闪付</a></li>
		<li id="exchange"><a href="__APP__/Exchange/storeList">积分兑换</a></li>
		<li id="apply"><a href="__APP__/Apply/index">报名</a></li>
        <li id="activity"><a href="__APP__/Activity/">投票活动</a></li>
        <li id="game"><a href="__APP__/Game/">游戏</a></li>
		</if>
      </ul>
      <div class="logout">
        <p  class="logouta"> 您好! {$_SESSION['USER']}  &nbsp;&nbsp;<a  href="__APP__/Index/logout" title="退出当前登录">退出</a> </p>
      </div>
    </div>
  </div>
</nav>
<script>
    var editor, title;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="intro"],textarea[name="rule"]', {
        afterBlur: function () {
            this.sync();
        },
		newlineTag : "br",
				resizeType : 1,
				allowPreviewEmoticons : false,
				allowImageUpload : false,
				
		});
	});

	
</script>